package ntd.util.frame.action;

import cn.hutool.db.Entity;
import ntd.action.ActionManager;
import ntd.action.bo.ActionInBo;

public class FactoryAction {

    public static Entity dataSync(ActionInBo actionInBo) {
        return ActionManager.get("action-table-sync").getAction().execute(actionInBo).t();
    }

    public static void deviceConfigSync(ActionInBo actionInBo) {
        ActionManager.get("iot-device-config").getAction().execute(actionInBo);
    }
}
